package cn.snailteam.recruitment.entity;

/**
 * TrainingNewsList entity. @author MyEclipse Persistence Tools
 */

public class TrainingNewsList implements java.io.Serializable {

	// Fields

	private Integer id;
	private TrainingNewsCategories trainingNewsCategories;
	private String author;
	private String caption;
	private String subCaption;
	private String content;
	private String publisTime;

	// Constructors

	/** default constructor */
	public TrainingNewsList() {
	}

	/** minimal constructor */
	public TrainingNewsList(String caption, String content, String publisTime) {
		this.caption = caption;
		this.content = content;
		this.publisTime = publisTime;
	}

	/** full constructor */
	public TrainingNewsList(TrainingNewsCategories trainingNewsCategories,
			String author, String caption, String subCaption, String content,
			String publisTime) {
		this.trainingNewsCategories = trainingNewsCategories;
		this.author = author;
		this.caption = caption;
		this.subCaption = subCaption;
		this.content = content;
		this.publisTime = publisTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TrainingNewsCategories getTrainingNewsCategories() {
		return this.trainingNewsCategories;
	}

	public void setTrainingNewsCategories(
			TrainingNewsCategories trainingNewsCategories) {
		this.trainingNewsCategories = trainingNewsCategories;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCaption() {
		return this.caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getSubCaption() {
		return this.subCaption;
	}

	public void setSubCaption(String subCaption) {
		this.subCaption = subCaption;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPublisTime() {
		return this.publisTime;
	}

	public void setPublisTime(String publisTime) {
		this.publisTime = publisTime;
	}

}